<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>
        用户名：<input type="text" id="yhm" /><br/>
        密&nbsp;&nbsp;&nbsp;码：<input type="password" id="mm" /><br/>
        重复密码：<input type="password" id="cfmm"/><br/>
        <input type="button" value="注册" onclick="check()"/>
    </p>
    <script type="text/javascript" src="js/2.js"></script>
</body>
</html>